package per.wsj.paging;

import androidx.annotation.Nullable;

public class StudentModel {
    int id;
    String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(@Nullable Object obj) {
        StudentModel target = (StudentModel) obj;
        return this.id == target.id && this.name == target.name;
    }
}
